package org.cfx.gift.service.impl;

import org.cfx.gift.domain.Employee;
import org.cfx.gift.mapper.EmployeeMapper;
import org.cfx.gift.service.IEmployeeService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cfx
 * @since 2023-11-01
 */
@Service
public class EmployeeServiceImpl extends ServiceImpl<EmployeeMapper, Employee> implements IEmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;
    @Override
    public List<Employee> getAdmin() {
        return employeeMapper.getAdmin();
    }
}
